#coding : utf-8

from app.extensions import Flask, boot, databases

app = Flask(__name__)

def create_app():

    # init Bootstrap

    boot.init_app(app)

    # init mongoengine databases

    databases.init_app(app)

    return app
